Note: This file contains the instructions for constructing Mega Minesweeper plug - ins. Theme plug-ins alter the graphical appearance of Mega Minesweeper. Sound plug-ins alter the sound effects used in the game. We will gladly distribute third party plug-ins with Mega Minesweeper, but we reserve the right to select which ones to use. Please do not submit anything tastless or vulgar!
Basics:
- Themes alter the graphic appearance. Comprised of 16-bit PICT resources, 'RGBs' resources, 'crsr' resources, and STR resources
- Sounds alter sound effects. Comprised of 'snd ' PICT resources and STR resources
- "About plug - ins..." under the Apple Menu display information about the plug - in author (the information is contained in the STR resources).
- Plug - ins can be submitted for distribution w/ Mega Minesweeper.
Color: Mega Minesweeper REQUIRES 16-bit color, so don't hold back on the colors!
Theme Plug - In Format:
File Type:
Creatory: 'Mégá'
Type: 'Plúg'
'PICT' Resources
200 Background pattern (above playing field)
500 New Game Button (6 buttons at 32x32 pixels: Up,Down,Disabled,Win,Lost,Shock/Suprise)
Shock/Suprise is displayed when uncovering a field
1000 Cover - Small (4 fields at 16x16: Covered, Pressed Down, Flag, Question)
1001 Contain - Small (12 fields at 16x16: Empty, 1,2,...,8,Mine,Exploded Mine,Wrong Flag)
5001 Stats Background (213x223 pixels - The text boxes MUST remain in the original place - see pict resource 5001 in Mega Minesweeper)
10000 Paused - Any size picture: it will be scaled to fill most of the window.
'RGBs' Resource (16-bit numbers in a Red, Green, Blue format - see TMPL in Default.rsrc)
1000 Details the colors to be used in the Navigator window. If not provided, the defaults will be used.
{ Covered Color, Uncovered Color, Flagged Color, Tracking Rect Color :: all are RGB colors }
'crsr' Resource
1000 Tracking cursor - used when selecting a field to uncover
1001 Flag cursor - used when selecting a field to flag/unflag
1002 Power cursor - used when selecting field(s) to uncover via power clicking
'STR ' Resources
1000 "Author Name" - your name
1001 "Title" - the name of your plug-in to be displayed.
1002 "E-mail" - your e-mail address to be displayed
1003 "WWW" - your web page to be displayed
Sounds Plug - In Format:
File Type:
Creator: 'Mégá'
Type: 'Sóún'
'snd ' Resources
128 Uncover single field
129 Uncover multi fields (can be the same as single)
130 Flag field
131 Unflag field
132 Mine Exploded. Lost.
133 Win game.
'STR ' Resources
1000 "Author Name" - your name
1001 "Title" - the name of your plug-in to be displayed.
1002 "E-mail" - your e-mail address to be displayed
1003 "WWW" - your web page to be displayed
- Basically, just copy and paste your new resources onto one of the included plug-ins using ResEdit (or any other resource editor). You'll get the hang of things quickly!